docs: publish Sourcey-generated llms.txt - #37
Conversation
|
@codexbounty260804 is attempting to deploy a commit to the Grida Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
WalkthroughThe change adds a canonical ChangesLLM documentation publishing
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant WebsiteBuild as website build
participant GenerateLLMS as generate-llms.mjs
participant Sourcey
participant CanonicalFile as root llms.txt
participant PublicFile as www/public/llms.txt
WebsiteBuild->>GenerateLLMS: check and publish documentation index
GenerateLLMS->>Sourcey: generate documentation
Sourcey-->>GenerateLLMS: generated content
GenerateLLMS->>CanonicalFile: validate or update canonical content
GenerateLLMS->>PublicFile: copy canonical content
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@softmarshmallow This is ready for review: CodeRabbit found no actionable issues, the frozen-lockfile install and 35-page Astro build pass locally, and |
Summary
llms.txtfrom 21 authoritative Markdown pages with Sourcey 3.6.5.www/public/llms.txt.text/plain; charset=utf-8for the published route.Closes #23.
Change classification
Language-change gate
Before and after
Before: Spock had no canonical LLM discovery index, and
https://spock.sh/llms.txtreturned 404.After: The repository tracks one Sourcey-generated
llms.txt. The normal Astro build fails when it is stale, copies that exact canonical file into the static output, and Vercel serves it as plain text.Scope and tradeoffs
The index stays compact and links to authoritative pages rather than duplicating the documentation corpus. Sourcey 3.6.5 is an exact development dependency, so regeneration is deterministic and covered by the existing lockfile.
llms-full.txtis intentionally out of scope.Verification
node scripts/generate-llms.mjs— generated 21 Sourcey pages.node scripts/generate-llms.mjs --check --publish— idempotent; canonical and published bytes matched exactly.Canonical SHA-256:
a69e37836161c55711eb0f67e343d787c0fe7a2140558e947d41ece11ec3d48c.Audited all 27 unique destinations in the index: 27/27 returned HTTP 2xx/3xx.
astro check— 0 errors, 0 warnings, 0 hints.astro build— 35 pages built;dist/llms.txtmatched the canonical file byte for byte.corepack pnpm@10.11.0 -C www install --frozen-lockfile— lockfile current.git diff --check— clean.I read and followed CONTRIBUTING.md.
I added or updated focused tests, or explained why no test applies.
I updated user-facing documentation and the normative specification when authorized behavior changed.
I kept unrelated changes out of this PR.
If this is experimental, I prominently marked it and kept it isolated from default behavior, the normative specification, and conformance expectations.
I have not presented a working-group study or community preference as an accepted language decision.